﻿
package extremefx.extensions {
	/**
	 * @author Marcelo Volmaro
	 * Indicates whether the specified String object is a null reference
	 * @param _pStr A String reference.
	 * @return true if the value parameter is a null reference or an empty string (""); otherwise, false. 
	 */
	public function isNullOrEmpty(pString:String):Boolean{
		if (pString == null) return true;
		return pString.replace(/\s/g,"") == "";
	}
}
